import { NodeSSH } from "node-ssh";
import { Config } from "./config";

export type Options = Omit<Required<Config>, "sshList" | "uploadList"> & {
    sshList: (Omit<Config["sshList"][number], "ssh"> & {
        ssh: NodeSSH;
    })[];
    uploadList: (Omit<Config["uploadList"][number], "fileList"> & {
        fileList: (Config["uploadList"][number]["fileList"][number] & {
            id: string;
            localFilename: string;
            remoteFilename: string;
        })[];
    })[];
};
